package zestaw1.scanner;

/**
 * Author: Daniel Michalski
 * Date: 13.07.13
 */

public class Employee {
    private String name;
    private double salary;

    public Employee(String name, double salary) {
        this.name = name;
        this.salary = salary;
    }

    public double getSalary() {
        return salary;
    }

    @Override
    public String toString() {
        return name + " " + salary;
    }
}
